package com.example.rabbitmqstudy.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author admin
 * @date 2021/07/13 10:50
 */
@Configuration
public class RabbitConfig {

    @Bean
    public Queue hellQueue(){
        return new Queue("hello");
    }
}
